package com.xinbochuang.machine.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xinbochuang.machine.admin.domain.Camera;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xinbochuang.machine.admin.domain.Certification;

/**
 *
 * @author 杜文博
 * @date 2020-10-28
 */
public interface ICameraService extends IService<Camera> {

    /**
     * 查询资质证书列表
     * @param camera
     * @return
     */
    IPage<Camera> selectList(Camera camera);

    /**
     * 新增资质证书
     */
    boolean insertCermera (Camera camera);

    /**
     * 修改摄像头信息
     */
    boolean updateCamera (Camera camera);

    /**
     * 删除摄像头
     */
    boolean deleteCamera (String uuids);

    /**
     * 摄像头启用
     */
    boolean cameraUser(Camera camera);

    /**
     * 摄像头预警
     */
    boolean cameraWarning(Camera camera);

    /**
     * 根据Id查询摄像头详情
     */
    Camera getDetail(String uuid);

}
